﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bowling
{
    class Program
    {
        static void Main(string[] args)
        {

            Game g1 = new Game();
            Player p1 = new Player();
    

            p1.Name = "Giancarlo";


            List<Player> groupOfBowlers = new List<Player>();
            groupOfBowlers.Add(p1);


            g1.players = groupOfBowlers;

            Frame f1 = new Frame(1, true);
            Frame f2 = new Frame(2, true, 7, 3);
            p1.frames.Add(f1);
            p1.frames.Add(f2);

            Frame f3 = new Frame(3, 8, 1);
            p1.frames.Add(f3);


            Frame f4 = new Frame(4, true, 8, 2);
            Frame f5 = new Frame(5, true, 9, 1);

            Frame f6 = new Frame(6, true);

            Frame f7 = new Frame(7, 3, 3);
            Frame f8 = new Frame(8, 6, 1);
            Frame f9 = new Frame(9, 5, 3);

            Frame f10 = new Frame(10,true);


            g1.Print();

            Console.ReadLine();

        
        }
    }
}
